package com.tbit.uqbike.object.pojo.vo;

import com.tbit.uqbike.annos.Excel;
import com.tbit.uqbike.webmanager.util.csv.annotations.Csv;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

/**
 * 调度申请聚合CSV对象
 *
 *
 * @author <a href="mailto:chen.chaoxiong@tbit.com.cn">ChenChaoXiong</a>
 * @since 2024/7/30
 */
@Data
@Builder
public class DispatchApplyAggregationCSV {

    /**
     * 申请人名称
     */
    @Csv(name = "申请人")
    @Excel(name = "申请人", sort = 1)
    private String applyUserName;
    /**
     * 申请人手机号
     */
    @Csv(name = "申请人手机号")
    @Excel(name = "申请人手机号", sort = 2)
    private String applyUserPhone;
    /**
     * 区域名称
     */
    @Csv(name = "运营区域")
    @Excel(name = "运营区域", sort = 3)
    private String accountName;

    /**
     * 申请数量
     */
    @Csv(name = "车辆数量")
    @Excel(name = "车辆数量", sort = 4)
    private Integer applyNum;

    /**
     * 车辆编号
     */
    @Csv(name = "车辆编号")
    @Excel(name = "车辆编号", sort = 5)
    private String userCode;

    /**
     * 申请人备注
     */
    @Csv(name = "申请人备注")
    @Excel(name = "申请人备注", sort = 6)
    private String applyReason;

    /**
     * 处理人名称
     */
    @Csv(name = "处理人")
    @Excel(name = "处理人", sort = 7)
    private String stockUserName;

    /**
     * 处理方式 system:系统审核  manual:人工审核
     */
    @Csv(name = "处理方式")
    @Excel(name = "处理方式", sort = 8, readConverterExp = "system=系统审核,manual=人工审核")
    private String  handleType;

    /**
     * 处理结果 0未处理 1审核通过、2驳回
     */
    @Csv(name = "处理结果")
    @Excel(name = "处理结果", sort = 9, readConverterExp = "0=未处理,1=审核通过,2=驳回")
    private String  state;

    /**
     * 处理备注
     */
    @Csv(name = "处理备注")
    @Excel(name = "处理备注", sort = 10)
    private String handleMsg;


    /**
     * 申请时间
     */
    @Csv(name = "申请时间")
    @Excel(name = "申请时间", sort = 11, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;

    /**
     * 处理时间
     */
    @Csv(name = "处理时间")
    @Excel(name = "处理时间", sort = 12, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date handleTime;


}
